num1 =input("Please add your lucky number from 1 to 10:")
while num1 != '2':
    num1 = input("You are wrong,please try again:")
print("You are right ,congratulations!")    